const labels = [
    '阿富汗',
    '奥兰群岛',
    '阿尔巴尼亚',
    '阿尔及利亚',
    '美属萨摩亚',
    '安道尔',
    '安哥拉',
    '安圭拉',
    '南极洲',
    '安提瓜和巴布达',
    '阿根廷',
    '亚美尼亚',
    '阿鲁巴',
    '澳大利亚',
    '奥地利',
    '阿塞拜疆',
    '巴哈马',
    '巴林',
    '孟加拉国',
    '巴巴多斯',
    '白俄罗斯',
    '比利时',
    '伯利兹',
    '贝宁',
    '百慕大',
    '不丹',
    '玻利维亚',
    '波黑',
    '博茨瓦纳',
    '布维岛',
    '巴西',
    '英属印度洋领地',
    '文莱',
    '保加利亚',
    '布基纳法索',
    '布隆迪',
    '柬埔寨',
    '喀麦隆',
    '加拿大',
    '佛得角',
    '开曼群岛',
    '中非',
    '乍得',
    '智利',
    '中国',
    '圣诞岛',
    '科科斯（基林）群岛',
    '哥伦比亚',
    '科摩罗',
    '刚果（布）',
    '刚果（金）',
    '库克群岛',
    '哥斯达黎加',
    '科特迪瓦',
    '克罗地亚',
    '古巴',
    '塞浦路斯',
    '捷克',
    '丹麦',
    '吉布提',
    '多米尼克',
    '多米尼加',
    '厄瓜多尔',
    '埃及',
    '萨尔瓦多',
    '赤道几内亚',
    '厄立特里亚',
    '爱沙尼亚',
    '埃塞俄比亚',
    '福克兰群岛（马尔维纳斯）',
    '法罗群岛',
    '斐济',
    '芬兰',
    '法国',
    '法属圭亚那',
    '法属波利尼西亚',
    '法属南部领地',
    '加蓬',
    '冈比亚',
    '格鲁吉亚',
    '德国',
    '加纳',
    '直布罗陀',
    '希腊',
    '格陵兰',
    '格林纳达',
    '瓜德罗普',
    '关岛',
    '危地马拉',
    '格恩西岛',
    '几内亚',
    '几内亚比绍',
    '圭亚那',
    '海地',
    '赫德岛和麦克唐纳岛',
    '梵蒂冈',
    '洪都拉斯',
    '香港',
    '匈牙利',
    '冰岛',
    '印度',
    '印度尼西亚',
    '伊朗',
    '伊拉克',
    '爱尔兰',
    '英国属地曼岛',
    '以色列',
    '意大利',
    '牙买加',
    '日本',
    '泽西岛',
    '约旦',
    '哈萨克斯坦',
    '肯尼亚',
    '基里巴斯',
    '朝鲜',
    '韩国',
    '科威特',
    '吉尔吉斯斯坦',
    '老挝',
    '拉脱维亚',
    '黎巴嫩',
    '莱索托',
    '利比里亚',
    '利比亚',
    '列支敦士登',
    '立陶宛',
    '卢森堡',
    '澳门',
    '前南马其顿',
    '马达加斯加',
    '马拉维',
    '马来西亚',
    '马尔代夫',
    '马里',
    '马耳他',
    '马绍尔群岛',
    '马提尼克',
    '毛利塔尼亚',
    '毛里求斯',
    '马约特',
    '墨西哥',
    '密克罗尼西亚联邦',
    '摩尔多瓦',
    '摩纳哥',
    '蒙古',
    '黑山',
    '蒙特塞拉特',
    '摩洛哥',
    '莫桑比克',
    '缅甸',
    '纳米比亚',
    '瑙鲁',
    '尼泊尔',
    '荷兰',
    '荷属安的列斯',
    '新喀里多尼亚',
    '新西兰',
    '尼加拉瓜',
    '尼日尔',
    '尼日利亚',
    '纽埃',
    '诺福克岛',
    '北马里亚纳',
    '挪威',
    '阿曼',
    '巴基斯坦',
    '帕劳',
    '巴勒斯坦',
    '巴拿马',
    '巴布亚新几内亚',
    '巴拉圭',
    '秘鲁',
    '菲律宾',
    '皮特凯恩',
    '波兰',
    '葡萄牙',
    '波多黎各',
    '卡塔尔',
    '留尼汪',
    '罗马尼亚',
    '俄罗斯联邦',
    '卢旺达',
    '圣赫勒拿',
    '圣基茨和尼维斯',
    '圣卢西亚',
    '圣皮埃尔和密克隆',
    '圣文森特和格林纳丁斯',
    '萨摩亚',
    '圣马力诺',
    '圣多美和普林西比',
    '沙特阿拉伯',
    '塞内加尔',
    '塞尔维亚',
    '塞舌尔',
    '塞拉利昂',
    '新加坡',
    '斯洛伐克',
    '斯洛文尼亚',
    '所罗门群岛',
    '索马里',
    '南非',
    '南乔治亚岛和南桑德韦奇岛',
    '西班牙',
    '斯里兰卡',
    '苏丹',
    '苏里南',
    '斯瓦尔巴岛和扬马延岛',
    '斯威士兰',
    '瑞典',
    '瑞士',
    '叙利亚',
    '台湾',
    '塔吉克斯坦',
    '坦桑尼亚',
    '泰国',
    '东帝汶',
    '多哥',
    '托克劳',
    '汤加',
    '特立尼达和多巴哥',
    '突尼斯',
    '土耳其',
    '土库曼斯坦',
    '特克斯和凯科斯群岛',
    '图瓦卢',
    '乌干达',
    '乌克兰',
    '阿联酋',
    '英国',
    '美国',
    '美国本土外小岛屿',
    '乌拉圭',
    '乌兹别克斯坦',
    '瓦努阿图',
    '委内瑞拉',
    '越南',
    '英属维尔京群岛',
    '美属维尔京群岛',
    '瓦利斯和富图纳',
    '西撒哈拉',
    '也门',
    '赞比亚',
    '津巴布韦'
  ]

const ENLabels = [
  "Afghanistan",
  "Aland Islands",
  "Albania",
  "Algeria",
  "American Samoa",
  "Andorra",
  "Angola",
  "Anguilla",
  "Antarctica",
  "Antigua and Barbuda",
  "Argentina",
  "Armenia",
  "Aruba",
  "Australia",
  "Austria",
  "Azerbaijan",
  "Bahamas (The)",
  "Bahrain",
  "Bangladesh",
  "Barbados",
  "Belarus",
  "Belgium",
  "Belize",
  "Benin",
  "Bermuda",
  "Bhutan",
  "Bolivia",
  "Bosnia and Herzegovina",
  "Botswana",
  "Bouvet Island",
  "Brazil",
  "British Indian Ocean Territory",
  "Brunei Darussalam",
  "Bulgaria",
  "Burkina Faso",
  "Burundi",
  "Cambodia",
  "Cameroon",
  "Canada",
  "Cape Verde",
  "Cayman Islands",
  "Central African Republic",
  "Chad",
  "Chile",
  "China",
  "Christmas Island",
  "Cocos (Keeling) Islands",
  "Colombia",
  "Comoros",
  "Congo",
  "Congo (the Democratic Republic of the)",
  "Cook Islands",
  "Costa Rica",
  "Côte d'Ivoire",
  "Croatia",
  "Cuba",
  "Cyprus",
  "Czech Republic",
  "Denmark",
  "Djibouti",
  "Dominica",
  "Dominican Republic",
  "Ecuador",
  "Egypt",
  "El Salvador",
  "Equatorial Guinea",
  "Eritrea",
  "Estonia",
  "Ethiopia",
  "Falkland Islands [Malvinas]",
  "Faroe Islands",
  "Fiji",
  "Finland",
  "France",
  "French Guiana",
  "French Polynesia",
  "French Southern Territories",
  "Gabon",
  "Gambia",
  "Georgia",
  "Germany",
  "Ghana",
  "Gibraltar",
  "Greece",
  "Greenland",
  "Grenada",
  "Guadeloupe",
  "Guam",
  "Guatemala",
  "Guernsey",
  "Guinea",
  "Guinea-Bissau",
  "Guyana",
  "Haiti",
  "Heard Island and McDonald Islands",
  "Holy See [Vatican City State]",
  "Honduras",
  "Hong Kong",
  "Hungary",
  "Iceland",
  "India",
  "Indonesia",
  "Iran (the Islamic Republic of)",
  "Iraq",
  "Ireland",
  "Isle of Man",
  "Israel",
  "Italy",
  "Jamaica",
  "Japan",
  "Jersey",
  "Jordan",
  "Kazakhstan",
  "Kenya",
  "Kiribati",
  "Korea (the Democratic People's Republic of)",
  "Korea (the Republic of)",
  "Kuwait",
  "Kyrgyzstan",
  "Lao People's Democratic Republic",
  "Latvia",
  "Lebanon",
  "Lesotho",
  "Liberia",
  "Libyan Arab Jamahiriya",
  "Liechtenstein",
  "Lithuania",
  "Luxembourg",
  "Macao",
  "Macedonia (the former Yugoslav Republic of)",
  "Madagascar",
  "Malawi",
  "Malaysia",
  "Maldives",
  "Mali",
  "Malta",
  "Marshall Islands",
  "Martinique",
  "Mauritania",
  "Mauritius",
  "Mayotte",
  "Mexico",
  "Micronesia (the Federated States of)",
  "Moldova (the Republic of)",
  "Monaco",
  "Mongolia",
  "Montenegro",
  "Montserrat",
  "Morocco",
  "Mozambique",
  "Myanmar",
  "Namibia",
  "Nauru",
  "Nepal",
  "Netherlands",
  "Netherlands Antilles",
  "New Caledonia",
  "New Zealand",
  "Nicaragua",
  "Niger",
  "Nigeria",
  "Niue",
  "Norfolk Island",
  "Northern Mariana Islands",
  "Norway",
  "Oman",
  "Pakistan",
  "Palau",
  "Palestinian Territory (the Occupied)",
  "Panama",
  "Papua New Guinea",
  "Paraguay",
  "Peru",
  "Philippines",
  "Pitcairn",
  "Poland",
  "Portugal",
  "Puerto Rico",
  "Qatar",
  "Réunion",
  "Romania",
  "Russian Federation",
  "Rwanda",
  "Saint Helena",
  "Saint Kitts and Nevis",
  "Saint Lucia",
  "Saint Pierre and Miquelon",
  "Saint Vincent and the Grenadines",
  "Samoa",
  "San Marino",
  "Sao Tome and Principe",
  "Saudi Arabia",
  "Senegal",
  "Serbia",
  "Seychelles",
  "Sierra Leone",
  "Singapore",
  "Slovakia",
  "Slovenia",
  "Solomon Islands",
  "Somalia",
  "South Africa",
  "South Georgia and the South Sandwich Islands",
  "Spain",
  "Sri Lanka",
  "Sudan",
  "Suriname",
  "Svalbard and Jan Mayen",
  "Swaziland",
  "Sweden",
  "Switzerland",
  "Syrian Arab Republic",
  "Taiwan (Province of China)",
  "Tajikistan",
  "Tanzania,United Republic of",
  "Thailand",
  "Timor-Leste",
  "Togo",
  "Tokelau",
  "Tonga",
  "Trinidad and Tobago",
  "Tunisia",
  "Turkey",
  "Turkmenistan",
  "Turks and Caicos Islands",
  "Tuvalu",
  "Uganda",
  "Ukraine",
  "United Arab Emirates",
  "United Kingdom",
  "United States",
  "United States Minor Outlying Islands",
  "Uruguay",
  "Uzbekistan",
  "Vanuatu",
  "Venezuela",
  "Viet Nam",
  "Virgin Islands (British)",
  "Virgin Islands (U.S.)",
  "Wallis and Futuna",
  "Western Sahara",
  "Yemen",
  "Zambia",
  "Zimbabwe"
]

const nameMap = {
  'Afghanistan': '阿富汗',
  'Angola': '安哥拉',
  'Albania': '阿尔巴尼亚',
  'United Arab Emirates': '阿联酋',
  'Argentina': '阿根廷',
  'Andorra': '安道尔',
  'Armenia': '亚美尼亚',
  'French Southern and Antarctic Lands': '法属南半球和南极领地',
  'Australia': '澳大利亚',
  'Austria': '奥地利',
  'Azerbaijan': '阿塞拜疆',
  'Burundi': '布隆迪',
  'Belgium': '比利时',
  'Benin': '贝宁',
  'Burkina Faso': '布基纳法索',
  'Bangladesh': '孟加拉国',
  'Bulgaria': '保加利亚',
  'The Bahamas': '巴哈马',
  'Bosnia and Herzegovina': '波斯尼亚和黑塞哥维那',
  'Belarus': '白俄罗斯',
  'Belize': '伯利兹',
  'Bermuda': '百慕大',
  'Bolivia': '玻利维亚',
  'Brazil': '巴西',
  'Brunei': '文莱',
  'Bhutan': '不丹',
  'Botswana': '博茨瓦纳',
  'Central African Republic': '中非共和国',
  'Canada': '加拿大',
  'Switzerland': '瑞士',
  'Chile': '智利',
  'China': '中国',
  'Ivory Coast': '象牙海岸',
  'Cameroon': '喀麦隆',
  'Democratic Republic of the Congo': '刚果民主共和国',
  'Republic of the Congo': '刚果共和国',
  'Colombia': '哥伦比亚',
  'Costa Rica': '哥斯达黎加',
  'Cuba': '古巴',
  'Northern Cyprus': '北塞浦路斯',
  'Cyprus': '塞浦路斯',
  'Czech Republic': '捷克共和国',
  'Germany': '德国',
  'Djibouti': '吉布提',
  'Denmark': '丹麦',
  'Dominican Republic': '多明尼加共和国',
  'Algeria': '阿尔及利亚',
  'Ecuador': '厄瓜多尔',
  'Egypt': '埃及',
  'Eritrea': '厄立特里亚',
  'Spain': '西班牙',
  'Estonia': '爱沙尼亚',
  'Ethiopia': '埃塞俄比亚',
  'Finland': '芬兰',
  'Fiji': '斐',
  'Falkland Islands': '福克兰群岛',
  'France': '法国',
  'Gabon': '加蓬',
  'United Kingdom': '英国',
  'Georgia': '格鲁吉亚',
  'Ghana': '加纳',
  'Guinea': '几内亚',
  'Gambia': '冈比亚',
  'Guinea Bissau': '几内亚比绍',
  'Equatorial Guinea': '赤道几内亚',
  'Greece': '希腊',
  'Greenland': '格陵兰',
  'Guatemala': '危地马拉',
  'French Guiana': '法属圭亚那',
  'Guyana': '圭亚那',
  'Honduras': '洪都拉斯',
  'Croatia': '克罗地亚',
  'Haiti': '海地',
  'Hungary': '匈牙利',
  'Indonesia': '印尼',
  'India': '印度',
  'Ireland': '爱尔兰',
  'Iran': '伊朗',
  'Iraq': '伊拉克',
  'Iceland': '冰岛',
  'Israel': '以色列',
  'Italy': '意大利',
  'Jamaica': '牙买加',
  'Jordan': '约旦',
  'Japan': '日本',
  'Kazakhstan': '哈萨克斯坦',
  'Kenya': '肯尼亚',
  'Kyrgyzstan': '吉尔吉斯斯坦',
  'Cambodia': '柬埔寨',
  'South Korea': '韩国',
  'Kosovo': '科索沃',
  'Kuwait': '科威特',
  'Laos': '老挝',
  'Lebanon': '黎巴嫩',
  'Liberia': '利比里亚',
  'Libya': '利比亚',
  'Sri Lanka': '斯里兰卡',
  'Lesotho': '莱索托',
  'Lithuania': '立陶宛',
  'Luxembourg': '卢森堡',
  'Latvia': '拉脱维亚',
  'Morocco': '摩洛哥',
  'Moldova': '摩尔多瓦',
  'Madagascar': '马达加斯加',
  'Mexico': '墨西哥',
  'Macedonia': '马其顿',
  'Mali': '马里',
  'Myanmar': '缅甸',
  'Montenegro': '黑山',
  'Mongolia': '蒙古',
  'Mozambique': '莫桑比克',
  'Mauritania': '毛里塔尼亚',
  'Malawi': '马拉维',
  'Malaysia': '马来西亚',
  'Namibia': '纳米比亚',
  'New Caledonia': '新喀里多尼亚',
  'Niger': '尼日尔',
  'Nigeria': '尼日利亚',
  'Nicaragua': '尼加拉瓜',
  'Netherlands': '荷兰',
  'Norway': '挪威',
  'Nepal': '尼泊尔',
  'New Zealand': '新西兰',
  'Oman': '阿曼',
  'Pakistan': '巴基斯坦',
  'Panama': '巴拿马',
  'Peru': '秘鲁',
  'Philippines': '菲律宾',
  'Papua New Guinea': '巴布亚新几内亚',
  'Poland': '波兰',
  'Puerto Rico': '波多黎各',
  'North Korea': '北朝鲜',
  'Portugal': '葡萄牙',
  'Paraguay': '巴拉圭',
  'Qatar': '卡塔尔',
  'Romania': '罗马尼亚',
  'Russia': '俄罗斯',
  'Rwanda': '卢旺达',
  'Western Sahara': '西撒哈拉',
  'Saudi Arabia': '沙特阿拉伯',
  'Sudan': '苏丹',
  'South Sudan': '南苏丹',
  'Senegal': '塞内加尔',
  'Solomon Islands': '所罗门群岛',
  'Sierra Leone': '塞拉利昂',
  'El Salvador': '萨尔瓦多',
  'Somaliland': '索马里兰',
  'Somalia': '索马里',
  'Republic of Serbia': '塞尔维亚共和国',
  'Suriname': '苏里南',
  'Slovakia': '斯洛伐克',
  'Slovenia': '斯洛文尼亚',
  'Sweden': '瑞典',
  'Swaziland': '斯威士兰',
  'Syria': '叙利亚',
  'Chad': '乍得',
  'Togo': '多哥',
  'Thailand': '泰国',
  'Tajikistan': '塔吉克斯坦',
  'Turkmenistan': '土库曼斯坦',
  'East Timor': '东帝汶',
  'Trinidad and Tobago': '特里尼达和多巴哥',
  'Tunisia': '突尼斯',
  'Turkey': '土耳其',
  'United Republic of Tanzania': '坦桑尼亚联合共和国',
  'Uganda': '乌干达',
  'Ukraine': '乌克兰',
  'Uruguay': '乌拉圭',
  'United States': '美国',
  'Uzbekistan': '乌兹别克斯坦',
  'Venezuela': '委内瑞拉',
  'Vietnam': '越南',
  'Vanuatu': '瓦努阿图',
  'West Bank': '西岸',
  'Yemen': '也门',
  'South Africa': '南非',
  'Zambia': '赞比亚',
  'Zimbabwe': '津巴布韦'
}


const countries = labels.map((label, index) => ({ value: label, label, ENLabel: ENLabels[index] }))

const countries2 = []

_.each(nameMap, (v, k) => {
  countries2.push({
    value: v,
    label: v,
    ENLabel: k,
  })
})

export { countries, countries2 }